package main

import(
	"net"
	"time"
	"log"
)
func main(){
	tcpAddress, err := net.ResolveTCPAddr("tcp4", "127.0.0.1:9996")
	if err != nil {
		log.Fatal(err)
	}
	conn, err := net.DialTCP("tcp", nil, tcpAddress)
	if err != nil {
		log.Fatal(err)		
	}
	defer conn.Close()
	for i:=0;i<5;i++{
		time.Sleep(1e9)
		conn.Write([]byte("asfj拉屎；框架+"))
	}
}